package com.lzh.mapper;


import com.lzh.bean.Supplier;
import com.lzh.common.curd.BaseMapper;
import com.lzh.query.SupplierQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface SupplierMapper extends BaseMapper<Supplier> {

    List<Map> query(SupplierQuery query);

    int resetPassword(int id);

    int saveSupplierCategory(@Param("id") int id,@Param("productType") int productType);
}
